-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLEANUP] Remove {{render}} #15915
[CLEANUP] Remove {{render}} #15915
Conversation
@rwjblue I don't have a great way of getting rid of these other files other than putting a comment on them for future removal. Do you have any ideas? Right now I'm just making sure that we don't include render is what we want, just not sure if we can clean this up any more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The approach seems good to me, I don't think there is much more we can do to reduce payload size while still supporting what we need...
@@ -65,7 +65,11 @@ export function registerMacros(macro: any) { | |||
export function populateMacros(blocks: any, inlines: any) { | |||
inlines.add('outlet', outletMacro); | |||
inlines.add('component', inlineComponentMacro); | |||
inlines.add('render', renderMacro); | |||
|
|||
if (ENV._ENABLE_RENDER_SUPPORT === true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this ENV
is not imported (thats what one of the test failures indicated at least)..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thoov - I think fixing this will fix CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rwjblue Yep that fixed it. Should be good to go now
Related: ember-2-legacy PR
Apart of: #15876